    .RSSET 0

    .MACRO MACRO_SOUND_BAR_TEXT
        .IF \1
Sound_Bar_\@ .RS $00
            .DB PPU_MODE_CNT_LINE,HIGH(Sound_Track_Pos+($20*Sound_Bar_\@)),LOW(Sound_Track_Pos+($20*Sound_Bar_\@))
            .USTR \2
            .RS $01
        .ENDIF
    .ENDM
    
;--------------------------------------------------
Sound_Bar_Text_Data;声音类型文本
    .IF SOUND_BAR_SHOW_ENABLE
    
        .IF 0 = ((5 = MAPPER_NUMBER) | ((24 = MAPPER_NUMBER) | (26 = MAPPER_NUMBER)) | (69 = MAPPER_NUMBER) | (19 = MAPPER_NUMBER) | (85 = MAPPER_NUMBER))
                MACRO_SOUND_BAR_TEXT SOUND_BAR_APU_SQ1_ENABLE,"APU SQ1-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_APU_SQ2_ENABLE,"APU SQ2-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_APU_TRI_ENABLE,"APU TRI-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_APU_NOI_ENABLE,"APU NOI-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_APU_DMC_ENABLE,"APU DMC-"
        .ELSE
        
            .IF 5 = MAPPER_NUMBER
                MACRO_SOUND_BAR_TEXT SOUND_BAR_APU_SQ1_ENABLE, "SQ1-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_APU_SQ2_ENABLE, "SQ2-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_APU_TRI_ENABLE, "TRI-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_APU_NOI_ENABLE, "NOI-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_APU_DMC_ENABLE, "DMC-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_MMC5_SQ1_ENABLE,"SQ3-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_MMC5_SQ2_ENABLE,"SQ4-"
            .ENDIF

            .IF ((24 = MAPPER_NUMBER) | (26 = MAPPER_NUMBER))
                MACRO_SOUND_BAR_TEXT SOUND_BAR_APU_SQ1_ENABLE," APU SQ1-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_APU_SQ2_ENABLE," APU SQ2-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_APU_TRI_ENABLE," APU TRI-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_APU_NOI_ENABLE," APU NOI-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_APU_DMC_ENABLE," APU DMC-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_VRC6_SQ1_ENABLE,"VRC6 SQ1-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_VRC6_SQ2_ENABLE,"VRC6 SQ2-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_VRC6_SAW_ENABLE,"VRC6 SAW-"
            .ENDIF

            .IF 69 = MAPPER_NUMBER
                MACRO_SOUND_BAR_TEXT SOUND_BAR_APU_SQ1_ENABLE,"APU SQ1-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_APU_SQ2_ENABLE,"APU SQ2-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_APU_TRI_ENABLE,"APU TRI-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_APU_NOI_ENABLE,"APU NOI-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_APU_DMC_ENABLE,"APU DMC-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_5B_CH1_ENABLE,"EXT CH1-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_5B_CH2_ENABLE,"EXT CH2-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_5B_CH3_ENABLE,"EXT CH3-"
            .ENDIF

            .IF 19 = MAPPER_NUMBER
                MACRO_SOUND_BAR_TEXT SOUND_BAR_APU_SQ1_ENABLE,"  APU SQ1-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_APU_SQ2_ENABLE,"  APU SQ2-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_APU_TRI_ENABLE,"  APU TRI-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_APU_NOI_ENABLE,"  APU NOI-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_APU_DMC_ENABLE,"  APU DMC-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_NAMCO_CH1_ENABLE,"NAMCO CH1-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_NAMCO_CH2_ENABLE,"NAMCO CH2-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_NAMCO_CH3_ENABLE,"NAMCO CH3-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_NAMCO_CH4_ENABLE,"NAMCO CH4-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_NAMCO_CH5_ENABLE,"NAMCO CH5-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_NAMCO_CH6_ENABLE,"NAMCO CH6-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_NAMCO_CH7_ENABLE,"NAMCO CH7-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_NAMCO_CH8_ENABLE,"NAMCO CH8-"
            .ENDIF

            .IF 85 = MAPPER_NUMBER
                MACRO_SOUND_BAR_TEXT SOUND_BAR_APU_SQ1_ENABLE," APU SQ1-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_APU_SQ2_ENABLE," APU SQ2-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_APU_TRI_ENABLE," APU TRI-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_APU_NOI_ENABLE," APU NOI-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_APU_DMC_ENABLE," APU DMC-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_VRC7_CH1_ENABLE,"VRC7 CH1-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_VRC7_CH2_ENABLE,"VRC7 CH2-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_VRC7_CH3_ENABLE,"VRC7 CH3-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_VRC7_CH4_ENABLE,"VRC7 CH4-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_VRC7_CH5_ENABLE,"VRC7 CH5-"
                MACRO_SOUND_BAR_TEXT SOUND_BAR_VRC7_CH6_ENABLE,"VRC7 CH6-"
            .ENDIF
        .ENDIF
    .ENDIF
    .DB 0